/*
 * 创建日期 2009-12-18
 *
 * 成都天和软件公司
 * 电话：028-85425861
 * 传真：028-85425861-8008
 * 邮编：610041 
 * 版权所有
 */
package  org.fantasy.common.grid.part;

import  org.fantasy.common.grid.bean.ReportParam;

import javax.servlet.http.HttpServletRequest;

/**
 *  功能说明
 * @author: 王文成
 * @version: 1.0
 * @since 2009-12-18
 */
public class PartFactory {

    public static Part getReportStatPart(ReportParam param, HttpServletRequest request) {
        return new ReportStatPart(param,request);
    }

    public static Part getReportListPart(ReportParam param, HttpServletRequest request) {
        return new ReportListPart(param, request);
    }
    
    public static Part getGridTablePart(ReportParam param, HttpServletRequest request) {
        return new GridTablePart(param, request);
    }
}
